package com.qpx.zhoukao.message.dao;

import com.qpx.zhoukao.message.entity.MessageEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

public interface MessageDao extends JpaRepository<MessageEntity,Integer> {
    Page<MessageEntity> findAll(Specification<MessageEntity> specification, Pageable pageable);
}
